package single

import "http_monitor/models"

var Settings *models.Settings

func GetInstance() *models.Settings {
	if Settings == nil {
		settings := models.Settings{Id: 1}
		settings.GetById()
		Settings = &settings
	}
	return Settings
}
func Update() {
	Settings.GetById()
}
